package com.translate.web.dao;
import java.util.List;

import com.dao.base.IBaseMapper;
import com.translate.entity.PayManagerService;

public interface PayManagerServiceMapper extends IBaseMapper<PayManagerService> { 

	/**
	 * 根据订单id 及 服务类型 获取数据
	 * @param ids
	 * @param serviceType
	 * @return
	 */
	List<PayManagerService> getPayManagerServices(long[] ids, int serviceType);
	
	/**
	 * 取消订单
	 * @param managerId
	 * @param userId
	 * @return
	 */
	int cancelOrder(int managerId, int userId);
	
}
